package com.kinon.norogamilk.application;

import android.app.Application;
import android.provider.Settings;

/**
 * Created by lhqq on 2017-12-12.
 */

public class MilkApp extends Application {

    public static String serialNum;
    public static String androidId;
    private static MilkApp mApp = null;

    public static MilkApp getInstance() {
        return mApp;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mApp = this;
        serialNum = android.os.Build.SERIAL;
        androidId = Settings.System.getString(getContentResolver(), Settings.System.ANDROID_ID);
    }
}
